<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VR影院 - 游乐园信息管理系统</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/components.css">
</head>

<body>
    <header class="header">
        <div class="header-container">
            <button class="mobile-menu-btn">☰</button>
            <div class="location">
                <span class="location-icon">📍</span>
                <span class="location-text">Beijing, China</span>
            </div>
            <nav class="main-nav">
                <a href="rest-area.html" class="nav-item">休息区预约</a>
                <a href="project-recommend.html" class="nav-item">项目实时推荐</a>
                <a href="shuttle-call.html" class="nav-item">摆渡车呼叫</a>
                <a href="equipment-book.html" class="nav-item">道具预约</a>
                <a href="order.html" class="nav-item">订餐服务</a>
                <a href="help.html" class="nav-item">帮助</a>
                <a href="language.html" class="nav-item">语言</a>
            </nav>
            <div class="user-actions">
                <a href="login.html" class="login-btn">登录使用更多功能</a>
                <span class="user-icon disabled" onclick="alert('个人中心功能暂不可用')">👤</span>
            </div>
        </div>
    </header>

    <aside class="sidebar">
        <div class="sidebar-header">
            <h3>项目详情</h3>
            <button class="collapse-btn" onclick="toggleSidebar()">◀</button>
        </div>
        <ul class="project-list">
            <li><a href="roller-coaster.html">
                    <span class="project-icon">💦</span>
                    <span class="project-text">激流勇进</span>
                </a></li>
            <li><a href="vr-cinema.html" class="active">
                    <span class="project-icon">🥽</span>
                    <span class="project-text">VR影院</span>
                </a></li>
            <li><a href="personal-center.html">
                    <span class="project-icon">👤</span>
                    <span class="project-text">个人中心</span>
                </a></li>
        </ul>

        <div class="latest-notice">
            <h4>最新通知</h4>
            <div class="notice-content">
                <p>• VR影院维护完成，现已开放</p>
                <p>• 今日游客量较大，建议错峰游玩</p>
                <p>• 水上项目需预约救生衣</p>
                <p>• 夜间灯光秀今晚8点开始</p>
            </div>
        </div>
    </aside>

    <main class="main-content">
        <!-- VR影院项目 -->
        <section class="section" id="vrCinemaSection">
            <h4>🥽 VR影院</h4>
            <div class="project-content" id="projectContent">
                <!-- 项目图片 -->
                <div class="project-image-container">
                    <img src="picture/VR影院.png" alt="VR影院" class="project-image" onerror="this.style.display='none'">
                </div>

                <!-- 项目信息 -->
                <div class="project-info">
                    <div class="info-section">
                        <h5>项目介绍</h5>
                        <p>VR影院是一个沉浸式的虚拟现实体验项目，游客佩戴专业的VR设备，进入完全虚拟的世界。通过高清晰度的视觉体验和立体声音效，让游客仿佛置身于电影场景中，体验前所未有的沉浸式娱乐体验。</p>
                    </div>

                    <div class="info-section">
                        <h5>注意事项</h5>
                        <ul class="notice-list">
                            <li>年龄限制：8岁以上</li>
                            <li>身高要求：1.1米以上</li>
                            <li>患有癫痫、心脏病、高血压等疾病者请勿参与</li>
                            <li>请勿在体验过程中摘下VR设备</li>
                            <li>体验过程中请保持坐姿，避免剧烈运动</li>
                            <li>请听从工作人员指导，确保安全体验</li>
                        </ul>
                    </div>

                    <div class="info-section">
                        <h5>所需道具</h5>
                        <div class="equipment-list">
                            <div class="equipment-item">
                                <span class="equipment-icon">🥽</span>
                                <span class="equipment-name">VR设备</span>
                                <span class="equipment-status" id="vrDeviceStatus">加载中...</span>
                            </div>
                        </div>
                    </div>

                    <div class="info-section">
                        <h5>实时信息</h5>
                        <div class="queue-info">
                            <div class="queue-item">
                                <span class="queue-label">当前排队人数：</span>
                                <span class="queue-number" id="queueCount">加载中...</span>
                            </div>
                            <div class="queue-item">
                                <span class="queue-label">预计等待时间：</span>
                                <span class="queue-time" id="waitTime">计算中...</span>
                            </div>
                            <div class="queue-item">
                                <span class="queue-label">项目状态：</span>
                                <span class="project-status" id="projectStatus">运行中</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

    </main>

    <script src="js/api-service.js"></script>
    <script src="js/main.js"></script>
    <script src="js/visitor-statistics.js"></script>
    <script src="js/vr-cinema.js"></script>
</body>

</html>
